package top.deepdesigner.vo;

import lombok.Data;
import top.deepdesigner.pojo.DtsGoods;
import top.deepdesigner.pojo.DtsGoodsAttribute;
import top.deepdesigner.pojo.DtsGoodsProduct;
import top.deepdesigner.pojo.DtsGoodsSpecification;

import java.util.List;

@Data
public class GoodsAllinone<T> {

  private DtsGoods goods;
  private List<T> categoryIds;
  private List<DtsGoodsSpecification> specifications;
  private List<DtsGoodsAttribute> attributes;
  // 这里采用 Product 再转换到 DtsGoodsProduct
  private List<DtsGoodsProduct> products;
}
